package data.promotiondata;

import java.rmi.RemoteException;

import po.PromotionPO;
import po.SalesPO;
import dataservice.promotiondataservice.PromotionDataService;

public class PromotionDataManagerDriver {
	
	public void drive(PromotionDataService promotionDataService) throws RemoteException {
		promotionDataService.dailyUpdate();
		promotionDataService.init();
		promotionDataService.delete(new PromotionPO());
		promotionDataService.finish();
		promotionDataService.insert(new PromotionPO());
		promotionDataService.testSalesPO(new SalesPO());
		
	}
	
	public static void main(String[] args) throws RemoteException {
		new PromotionDataManagerDriver().drive(new PromotionDataManagerStub());
	}

}
